package Main;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.image.BufferStrategy;

import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;

public final class UI
{	
	
	JFrame Fenster = new JFrame();
	
	JPanel Background = new JPanel();
	
	JTextArea KTA = new JTextArea();
	
	JScrollPane KTASP = null;
	
	GridBagLayout Layout = new GridBagLayout();
	
	GridBagConstraints C = new GridBagConstraints();

	public void create()
	{
		Background.setLayout(Layout);
		
		KTA.setLineWrap(true);
		KTA.setWrapStyleWord(true);
		
		KTASP = new JScrollPane(KTA);
		
		KTASP.setPreferredSize(new Dimension(250, 250));
		KTASP.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Plain Text"),BorderFactory.createEmptyBorder(5,5,5,5)),KTASP.getBorder()));
		
		Fenster.setDefaultCloseOperation(3);
		
		Fenster.setVisible(true);
		Fenster.setSize(800, 600);
		Fenster.setResizable(false);
		
		
	
	}
	
	
	
}
